class Solution:
    def capitalizeTitle(self, title: str) -> str:
        words = title.lower().split()
        capWords = []
        for word in words:
            capWords.append(word if len(word) <= 2 else word[0].upper() + word[1:])
        return " ".join(capWords)
        
